import request from '../utils/request';

/**
 * 登录
 */
export const loginApi = (code) => {
  return request(`/weixin/wxLogin/${code}`);
}

/**
 * 获取用户数据
 */
export const getUserInfoApi = () => {
  return request(`/weixin/getuserInfo`);
}
